<template>
  <view>
    <web-view :src="linkSrc"></web-view>
  </view>
</template>

<script setup lang="ts">
import { onLoad } from '@dcloudio/uni-app';
import { ref } from 'vue';
const linkSrc = ref<string>();

onLoad(option => {
  // console.log(option);
  linkSrc.value = decodeURIComponent(option?.url);
});
</script>
